//
//  XSComposePictureView.swift
//  WeiDo
//
//  Created by XISHAN on 16/3/16.
//  Copyright © 2016年 XISHAN. All rights reserved.
//

import UIKit

class XSComposePictureView: UICollectionView {

    override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {
        super.init(frame: frame, collectionViewLayout: layout)
        setupUI()
        
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    

    // MARK: -  初始化视图
    private func setupUI(){
        //背景颜色是Clear
        self.backgroundColor = UIColor.clearColor()
        //默认隐藏
        self.hidden = true
        
        
        
    }
}
//private class XSComposePictureViewCell:UICollectionViewCell {
//    
//    //删除按钮的闭包
//    var deleteBtnClick
//    
//    
//}